package com.k.base.jdk.list;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

public class ListTest {
    public static void main(String[] args) {

        List<String> mylist = null;//new ArrayList<>();
        List nlist = mylist.parallelStream().collect(Collectors.toList());
        System.out.println(nlist);
    }
}
